package v.book.read.tip.statemachine2.vm.input;

import v.book.read.tip.statemachine2.Input;

public final class SecondDigit implements Input {
    private String name;
    private int value;
    private SecondDigit(String nm, int val) {
        name = nm;
        value = val;
    }
    public String toString() { return name; }
    public int getValue() { return value; }
    public final static SecondDigit
        one = new SecondDigit("one", 0),
        two = new SecondDigit("two", 1),
        three = new SecondDigit("three", 2),
        four = new SecondDigit("four", 3);
}
